package com.suredy.app.porject.formdata;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.suredy.app.porject.model.BidMoney;
import com.suredy.app.porject.model.BidResult;

/**
 * 表单数据之金额模型
 * 
 * @author VIVID.G
 * @since 2015-12-23
 * @version v0.1
 */
@JsonInclude(Include.NON_EMPTY)
public class FormDataForBidResult implements Serializable {

	private static final long serialVersionUID = 1L;

	private BidResult result;

	private List<BidMoney> money;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date reOpenTime;

	public BidResult getResult() {
		return result;
	}

	public void setResult(BidResult result) {
		this.result = result;
	}

	public List<BidMoney> getMoney() {
		return money;
	}

	public void setMoney(List<BidMoney> money) {
		this.money = money;
	}

	public Date getReOpenTime() {
		return reOpenTime;
	}

	public void setReOpenTime(Date reOpenTime) {
		this.reOpenTime = reOpenTime;
	}

}
